package com.school.gmz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("message") // mybatis-plus
@ApiModel(description = "消息实体") // 描述实体的用途
@Data
public class Message {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID", notes = "消息的唯一标识", position = 1)
    private Integer id;

    @ApiModelProperty(value = "名称", notes = "消息的名称", position = 2)
    private String name;

    @ApiModelProperty(value = "电话", notes = "消息的联系电话", position = 3)
    private String phone;

    @ApiModelProperty(value = "内容", notes = "消息的具体内容", position = 4)
    private String message;

    @ApiModelProperty(value = "回复", notes = "对消息的回复", position = 5)
    private String hf;
}